<?xml version="1.0" encoding="UTF-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window" component="$UI/system/components/justep/window/window" design="device:m;">  
  <div component="$UI/system/components/justep/model/model" xid="model" style="top:178px;left:46px;height:auto;" onLoad="modelLoad"><div component="$UI/system/components/justep/data/baasData" autoLoad="true" xid="treeViewData" queryAction="queryPointtreeview" url="/Highde/tree_action" tableName="pointtreeview" idColumn="fNodeId" limit="10" isTree="true" saveAction="savePointtreeview" onIndexChanged="treeViewDataIndexChanged">
   <treeOption xid="default39" parentRelation="fParentID" delayLoad="true" rootFilter="fNodeId='lossage'"></treeOption>
   <column label="fNodeId" name="fNodeId" type="String" xid="default1"></column>
  <column label="fNodeName" name="fNodeName" type="String" xid="default2"></column>
  <column label="fParentID" name="fParentID" type="String" xid="default3"></column>
  <column label="fTableName" name="fTableName" type="String" xid="default4"></column></div>
  <div component="$UI/system/components/justep/data/baasData" autoLoad="true" xid="hisData" queryAction="queryHisdata_table" url="/Highde/data_action" tableName="hisdata_table" idColumn="fID"><column label="点ID" name="fPointID" type="String" xid="default15"></column>
  <column label="记录日期时间" name="fDate" type="DateTime" xid="default16"></column>
  <column label="值" name="fValue" type="Double" xid="default17"></column>
  <column label="数据质量" name="fQue" type="Integer" xid="default18"></column>
  <column label="fID" name="fID" type="Long" xid="default19"></column>
  <filter name="filter0" xid="filter0"></filter></div>
  <div component="$UI/system/components/justep/data/data" autoLoad="true" xid="dateData" idColumn="from" onValueChange="dateDataValueChange"><column label="自" name="from" type="Date" xid="xid2"></column>
  <column label="至" name="to" type="Date" xid="xid3"></column>
  <data xid="default20">[{&quot;from&quot;:&quot;2018-4-5&quot;,&quot;to&quot;:&quot;2018-4-6&quot;}]</data></div></div> 
<div component="$UI/system/components/justep/wing/wing" class="x-wing" xid="wing1">
   <div class="x-wing-left" xid="left1"><div component="$UI/system/components/justep/titleBar/titleBar" class="x-titlebar" xid="titleBar1" title="设备选择">
   <div class="x-titlebar-left" xid="div2"></div>
   <div class="x-titlebar-title" xid="div3">设备选择</div>
   <div class="x-titlebar-right reverse" xid="div4"></div></div>
  <div component="$UI/system/components/justep/tree/tree" class="x-tree x-inner-scroll" xid="tree1" data="treeViewData" labelColumn="fNodeName" rootLabel="用户">
   <div class="x-tree-head" xid="div8">
    <ul component="$UI/system/components/bootstrap/breadcrumb/breadcrumb" class="breadcrumb"></ul></div> 
   <div class="x-tree-content x-scroll-view" xid="div7">
    <div component="$UI/system/components/justep/scrollView/scrollView" supportPullDown="true" supportPullUp="true" hScroll="false" vScroll="true" hScrollbar="false" vScrollbar="true" bounce="true" class="x-scroll" xid="scrollView1">
     <div class="x-content-center x-pull-down container" xid="div6">
      <i class="x-pull-down-img glyphicon x-icon-pull-down" xid="i7"></i>
      <span class="x-pull-down-label" xid="span7">下拉刷新...</span></div> 
     <ul class="x-tree-template x-scroll-content" xid="treeTemplateUl1">
      <div component="$UI/system/components/justep/row/row" class="x-row" xid="row2">
       <div class="x-col" xid="col3">
        <li class="x-tree-link" xid="li1">
         <div component="$UI/system/components/justep/output/output" class="x-output" xid="output2" bind-ref='ref("fNodeName")'></div></li> </div> </div> </ul> 
     <div class="x-content-center x-pull-up" xid="div5">
      <span class="x-pull-up-label" xid="span8">加载更多...</span></div> </div> </div> </div></div>
   <div class="x-wing-content" xid="content1">
    <div class="x-wing-backdrop" xid="div1"></div>
  <div component="$UI/system/components/justep/panel/panel" class="x-panel x-full" xid="panel1">
   <div class="x-panel-top" xid="top1"><div component="$UI/system/components/justep/titleBar/titleBar" title="历史数据" class="x-titlebar" xid="titleBar2">
   <div class="x-titlebar-left" xid="left2">
    <a component="$UI/system/components/justep/button/button" label="" class="btn btn-link btn-only-icon" icon="linear linear-menu" onClick="backBtnClick" xid="backBtn">
     <i class="linear linear-menu" xid="i1"></i>
     <span xid="span1"></span></a> </div> 
   <div class="x-titlebar-title" xid="title1">历史数据</div>
   <div class="x-titlebar-right reverse" xid="right1"></div></div></div>
   <div class="x-panel-content" xid="content2">
  <div component="$UI/system/components/justep/row/row" class="x-row" xid="row3">
   <div class="x-col x-col-10 x-col-center center-block" xid="col5"><div component="$UI/system/components/justep/output/output" class="x-output center-block" xid="output5" bind-ref='$model.dateData.label("from")'></div></div>
   <div class="x-col" xid="col6"><input component="$UI/system/components/justep/input/input" class="form-control x-edit" xid="input1" bind-ref='$model.dateData.ref("from")' format="yyyy-MM-dd"></input></div>
   <div class="x-col x-col-10 x-col-center center-block" xid="col7"><div component="$UI/system/components/justep/output/output" class="x-output center-block" xid="output6" bind-ref='$model.dateData.label("to")'></div></div>
  <div class="x-col" xid="col8"><input component="$UI/system/components/justep/input/input" class="form-control" xid="input2" bind-ref='$model.dateData.ref("to")' format="yyyy-MM-dd"></input></div></div><div component="$UI/system/components/justep/dataTables/dataTables" flexibleWidth="true" responsive="true" rowActiveClass="active" class="table table-hover table-striped" xid="dataTables1" data="hisData" filter=' val("fPointID") == $model.treeViewData.val("fNodeId")'>
   <columns xid="columns1"><column name="fDate" xid="column8"></column>
  <column name="fValue" xid="column9"></column>
  <column name="fQue" xid="column10"></column></columns></div></div>
   <div class="x-panel-bottom" xid="bottom1"><div component="$UI/system/components/justep/pagerBar/pagerBar" class="x-pagerbar container-fluid" xid="pagerBar1" data="hisData">
   <div class="row" xid="div12">
    <div class="col-sm-3" xid="div11">
     <div class="x-pagerbar-length" xid="div10">
      <label component="$UI/system/components/justep/pagerLimitSelect/pagerLimitSelect" class="x-pagerlimitselect" xid="pagerLimitSelect2" defaultValue="10">
       <span xid="span11">显示</span>
       <select component="$UI/system/components/justep/select/select" class="form-control input-sm" xid="select2">
        <option value="10" xid="default6">10</option>
        <option value="20" xid="default7">20</option>
        <option value="50" xid="default8">50</option>
        <option value="100" xid="default9">100</option></select> 
       <span xid="span12">条</span></label> </div> </div> 
    <div class="col-sm-3" xid="div9">
     <div class="x-pagerbar-info" xid="div9">当前显示0条，共0条</div></div> 
    <div class="col-sm-6" xid="div10">
     <div class="x-pagerbar-pagination" xid="div11">
      <ul class="pagination" component="$UI/system/components/bootstrap/pagination/pagination" xid="pagination1">
       <li class="prev" xid="li3">
        <a href="#" xid="a2">
         <span aria-hidden="true" xid="span13">«</span>
         <span class="sr-only" xid="span14">Previous</span></a> </li> 
       <li class="next" xid="li2">
        <a href="#" xid="a3">
         <span aria-hidden="true" xid="span15">»</span>
         <span class="sr-only" xid="span16">Next</span></a> </li> </ul> </div> </div> </div> </div></div></div></div> 
   </div></div>